feat: Add OCIDYNAMICROUTINGGATEWAY entity definition (staging)#3064
feat: Add OCIDYNAMICROUTINGGATEWAY entity definition (staging)#3064aprasad-sketch wants to merge 5 commits into
Conversation
entityBot
left a comment
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 46, unexpected 'sum(oci.dynamic.routing.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 53, unexpected 'sum(oci.dynamic.routing.gateway.packet.drops.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
entityBot
left a comment
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 46, unexpected 'sum(oci.dynamic.routing.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 53, unexpected 'sum(oci.dynamic.routing.gateway.packet.drops.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
entityBot
left a comment
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 46, unexpected 'sum(oci.dynamic.routing.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 53, unexpected 'sum(oci.dynamic.routing.gateway.packet.drops.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
Add OCI Dynamic Routing Gateway entity definition with: - Entity definition with synthesis rules (identifier oci.drgOcid, prefix ocid1.drg) - Golden metrics (bytes to/from DRG, packet drops to/from DRG attachment) - Summary metrics - Test data - Using .stg.yml/.stg.json suffix (staging only) DRG metrics are emitted per DRG attachment; dimension resourceId is the attachment OCID and drgOcid is the DRG. Synthesis keys on oci.drgOcid so the entity represents the DRG. Metric source: https://docs.oracle.com/en-us/iaas/Content/Network/Reference/drgmetrics.htm Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
c9910f5 to
79d3858
Compare
Dismissing reviews
entityBot
left a comment
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 46, unexpected 'sum(oci.dynamic.routing.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 53, unexpected 'sum(oci.dynamic.routing.gateway.packet.drops.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
|
hi @aprasad-sketch could you fix the Entity Bot validation errors? thanks! |
entityBot
left a comment
There was a problem hiding this comment.
beep boop bop.
I have found some errors processing these changes:
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 46, unexpected 'sum(oci.dynamic.routing.gateway.bytes.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.bytes.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - Exception: Error validating the query.
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'SELECT sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment) FROM Metric WHERE entity.guid IN ('guid') FACET entity.name TIMESERIES' - analytics.nrql.parser.DiracParserException: Error at line 1 position 53, unexpected 'sum(oci.dynamic.routing.gateway.packet.drops.from'
- Error VALIDATING domainType: 'INFRA-OCIDYNAMICROUTINGGATEWAY' on Golden metrics for key 'sum(oci.dynamic.routing.gateway.packet.drops.from.drg.attachment)' - Exception: The NRQL validator was not able to parse the selection.
- We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the
ARB:pendinglabel. Reach#api-review-boardin case of doubts.
The metric names contain '.from.' (bytes.from / packet.drops.from). 'from' is a reserved NRQL keyword, so the unquoted metric name fails the golden-metrics NRQL validator (DiracParserException). Wrap all four metric names in backticks, matching the existing oci_service_connector_hub golden metrics. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
entityBot
left a comment
There was a problem hiding this comment.
We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.
entityBot
left a comment
There was a problem hiding this comment.
We don't think these changes require an API Review Board (ARB) review, so it is not required to merge this PR. Note that all API changes do require one: if you believe this PR needs an ARB review, please create the ticket and add the ARB:pending label. Reach #api-review-board in case of doubts.
Add OCI Dynamic Routing Gateway entity definition with synthesis rules, golden metrics, and summary metrics. Staging-only (
.stg.yml/Metric.stg.json).Entity Type
INFRA-OCIDYNAMICROUTINGGATEWAYoci_dynamic_routing_gatewaySynthesis
DRG metrics are emitted per DRG attachment: the
resourceIddimension is the attachment OCID (ocid1.drgattachment), whiledrgOcidis the DRG itself (ocid1.drg). To represent the DRG, synthesis keys onoci.drgOcid(prefixocid1.drg) rather than the defaultoci.resourceId. This follows the existing identifier-override precedent used byoci_service_connector_hub(oci.connectorId).Golden Metrics
BytesToDrgAttachment→oci.dynamic.routing.gateway.bytes.to.drg.attachmentBytesFromDrgAttachment→oci.dynamic.routing.gateway.bytes.from.drg.attachmentPacketDropsToDrgAttachment→oci.dynamic.routing.gateway.packet.drops.to.drg.attachmentPacketDropsFromDrgAttachment→oci.dynamic.routing.gateway.packet.drops.from.drg.attachmentMetric Source
https://docs.oracle.com/en-us/iaas/Content/Network/Reference/drgmetrics.htm